import request from '@/utils/request'

// 查询黑客马拉松收录列表
export function listHackathonInclusion(query) {
  return request({
    url: '/hackathonInclusion/list',
    method: 'get',
    params: query
  })
}

// 查询黑客马拉松收录详细
export function getHackathonInclusion(id) {
  return request({
    url: '/hackathonInclusion/' + id,
    method: 'get'
  })
}

// 新增黑客马拉松收录
export function addHackathonInclusion(data) {
  return request({
    url: '/hackathonInclusion',
    method: 'post',
    data: data
  })
}

// 修改黑客马拉松收录
export function updateHackathonInclusion(data) {
  return request({
    url: '/hackathonInclusion',
    method: 'put',
    data: data
  })
}
export function getExamineStatus(projectId) {
  return request({
    url: '/inclusionExamine/getExamineStatus/' + projectId,
    method: 'get'

  })
}
// 删除黑客马拉松收录
export function delHackathonInclusion(id) {
  return request({
    url: '/hackathonInclusion/' + id,
    method: 'delete'
  })
}
